<%--
  Created by IntelliJ IDEA.
  User: dqf
  Date: 2015/3/10
  Time: 16:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>联系人信息</title>
    <jsp:include page="../../../main/mp/inc.jsp"	/>
    <script>
        $(function(){
            $("[data-role='navbar']").navbar();
            $("[data-role='header'], [data-role='footer']").toolbar();
        });
    </script>
</head>
<body>
<!-- class="jqm-demos" -->
<div data-role="page" >
    <div data-role="header" data-position="fixed" data-theme="a">
        <h1 style="float:left;margin: 0 10px;"><i class="fa fa-user"></i> 联系人信息</h1>
    </div><!-- /header -->
    <div class="ui-content jqm-content jqm-fullwidth" role="main">
        <form method="post" id="form-common" data-ajax="false">
            <div class="ui-field-contain">
                <label>联系人名称：</label>
                <span><s:property value="linkman.name" /></span>
            </div>
            <div class="ui-field-contain">
                <label>客户名称：</label>
                <a href="ajax-client!read.action?keyId=<s:property value="linkman.client.id" />" data-ajax="false"  class="ui-mini ui-btn ui-btn-icon-right ui-icon-carat-r"><s:property value="linkman.client.name" /></a>
            </div>

            <div class="ui-field-contain">
                <label>联系人常用名：</label>
                <span><s:property value="linkman.subname" /></span>
            </div>
            <div class="ui-field-contain">
                <label>职位：</label>
                <span><s:property value="linkman.duty" /></span>
            </div>
            <div class="ui-field-contain">
                <label>办公电话：</label>
                <span ><s:property value="linkman.tel" /><s:property value="client.city" /><s:property value="client.county" /></span>
            </div>
            <div class="ui-field-contain">
                <label >手机：</label>
                <span ><s:property value="linkman.mobile" /></span>
            </div>
            <div class="ui-field-contain">
                <label>备用手机：</label>
                <span><s:property value="linkman.mobile_back" /></span>
            </div>

            <div class="ui-field-contain">
                <label>邮箱：</label>
                <span><s:property value="linkman.email" /></span>
            </div>
            <div class="ui-field-contain">
                <label>个人喜好：</label>
                <span><s:property value="linkman.preferences" /></span>
            </div>
            <div class="ui-field-contain">
                <label>是否有决策权：</label>
                <span>
                    <s:if test="linkman.ifHasDecision='1'">
                        <span>是</span>
                    </s:if>
                     <s:else>
                         <span>否</span>
                     </s:else>
                </span>
            </div>
            <div class="ui-field-contain">
                <label>生日：</label>
                <span><s:date name="linkman.birthday" format="yyyy-MM-dd"></s:date></span>
            </div>
            <div class="ui-field-contain">
                <label>备注：</label>
                <span><s:property value="linkman.remark" /></span>
            </div>
            <div class="ui-field-contain">
                <label>照片：</label>
				    <span >
				    </span>
            </div>
        </form>

    </div><!-- /content -->
</div><!-- /page -->
</body>
</html>
